package org.PISS.controller.model;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 13.04.14.
 */
public class ProductDetails {
    private long productId;
    private ProductType type;
    private Map<Long,Field> fieldsMap;//Map<fieldsetId,Field>
    private List<Product> containsProducts;

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public ProductType getType() {
        return type;
    }

    public void setType(ProductType type) {
        this.type = type;
    }

    public Map<Long,Field> getFields() {
        return fieldsMap;
    }

    public void setFieldsMap(Map<Long,Field> fields) {
        this.fieldsMap = fields;
    }

    public List<Product> getContainsProducts() {
        return containsProducts;
    }

    public void setContainsProducts(List<Product> containsProducts) {
        this.containsProducts = containsProducts;
    }

    public ProductDetails(){
        super();
    }

    public ProductDetails(long productId, ProductType type, Map<Long, Field> fieldsMap, List<Product> containsProducts) {
        this.productId = productId;
        this.type = type;
        this.fieldsMap = fieldsMap;
        this.containsProducts = containsProducts;
    }
}
